export const filenameLanguage = (name: string) => {
    const suffix = name.split('.').pop() || ''
    if(suffix == 'tsx'||suffix == 'ts'){
        return 'typescript'
    }
    if(suffix == 'jsx'||suffix == 'js'){
        return 'javascript'
    }
    if(suffix == 'css'){
        return 'css'
    }
    if(suffix == 'json'){
        return 'json'
    }
    return 'typescriptreact'
}